package com.hxtec.polaris.commons.constant;

/**
 * @Describtion 消息常量，禁止继承
 * @Author yonyong
 * @Date 2019/11/26 9:22
 * @Version 1.0.0
 **/
public final class Msg {
    /**
     * 禁止实例化
     */
    private Msg (){}

    /**
     * 分类相关
     */
    //查询列表时结果为空
    public static final String CATEGORY_SELECT_NO = "查询的分类表结果为空";
    //没有查询到当前节点的父节点
    public static final String CATEGORY_PNODE_NO = "没有查询到对应的父节点";
    //inser 影响条数不为1
    public static final String CATEGORY_INSERT_FAIL = "分类表插入数据失败";
    //inser 成功
    public static final String CATEGORY_INSERT_OK = "分类表插入数据成功";
    //insert 异常
    public static final String CATEGORY_INSERT_EXCEPTION = "分类表插入数据时发生异常";
    //update 异常
    public static final String CATEGORY_UPDATE_EXCEPTION = "分类表更新数据时发生异常";
    //update 影响条数不为1
    public static final String CATEGORY_UPDATE_FAIL = "分类表更新数据失败";
    //update 更新成功
    public static final String CATEGORY_UPDATE_OK = "分类表更新数据成功";
    //update 故障节点
    public static final String CATEGORY_PID_EXCEPTION = "父节点故障";
    //delete 异常
    public static final String CATEGORY_DELETE_EXCEPTION = "分类表删除数据时发生异常";
    //delete 影响的条数为空
    public static final String CATEGORY_DELETE_FAIL = "分类表删除数据失败";
    //delete 传的参数为空
    public static final String CATEGORY_DELETE_NO = "请至少选择一个节点删除";
    //delete 成功
    public static final String CATEGORY_DELETE_OK = "删除成功";

    /**
     * 商品相关
     */
    //获取所有商品列表（综合排序/销量/价格）
    public static final String GET_ALL_GOODS_NULL = "查询的商品列表为空";
    //获取猜你喜欢商品列表
    public static final String GET_GUESS_LIKE_GOODS_NULL = "查询的猜你喜欢商品列表为空";
    //获取分类精选商品列表
    public static final String GET_CLASSFIED_SELECTED_GOODS_NULL = "查询的分类精选商品列表为空";
    //获取某个类别的商品列表
    public static final String GET_GROUP_GOODS_NULL = "查询当前类别的商品列表为空";
    public static final String PARAM_INVALID = "非法的请求参数";


    /**
     * 轮播图相关
     */
    public static final String GET_CAROUSE_NULL = "查询的轮播图列表为空";

    /**
     * 浏览历史相关
     */
    public static final String HISTORY_GET_FAIL = "查询所有浏览记录失败";
    public static final String HISTORY_DELETE_FAIL = "删除指定浏览记录失败";
    public static final String HISTORY_DELETE_NULL = "删除指定记录成功，影响条数为0";
    public static final String HISTORY_TRUNK_FAIL = "清空全部浏览浏览记录失败";
    public static final String HISTORY_TRUNK_NULL = "清空全部浏览记录成功，影响条数为0";

    /**
     * 快递公司相关
     */
    public static final String COMPANY_CODE_NULL = "没有查询到相关的快递厂商";

    /**
     * 通用
     */
    public static final String COMMON_FAIL = "操作失败";
    public static final String COMMON_QUERY_NULL = "查询结果为空";
    public static final String COMMON_OK = "操作成功";

}
